<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<style type="text/css">
	
</style>

<input type="hidden" class="allPage" value="${allPage}" />
<c:if test="${empty articals}">
		<div class="weui-panel_body" style="text-align: center;">
			<img alt="" src="<c:url value='/images/we/personCenter/null.png' />">
			<p style="margin: 5px 20px;color: #afafaf">您搜索结果为空哦，亲！</p>
		</div>
</c:if>

<c:forEach var="artical" items="${articals}" varStatus="status">
<c:if test="${artical.medioType == 'artical' }">
		<a class="weui-cell" href="<c:url value='/wechat/share/informationDetail?id=${artical.id}'/>">
			<div class="weui-cell__bd"> 
				<p style="padding: 0px 0px; color: #555555;"><strong>${artical.title}</strong></p>
				<%-- <div style="margin-top: 10px">
					<img alt="" src="<c:url value='/images/we/shareCode/browse.jpg' />" style="width: 20px; height: 10px;margin:0px 0px" >
		  			<span style="color:#999;margin-right: 10px">3020</span>
		  			
		  			<img alt="" src="<c:url value='/images/we/shareCode/thumb.jpg' />" style="width: 16px; height: 16px;margin:0px 0px" >
					<span style="color:#999">3020</span>
				</div> --%>
			</div>
			<div class="weui-cell__ft">
			<c:if test="${artical.imgUrl !='' && artical.imgUrl != null }">
				<img alt="" src="<c:url value='${tfn:getFileUrl(artical.imgUrl) }' /> "
					style="width: 70px; height: 70px;">
			</c:if>
			</div>
		</a>
</c:if>
<c:if test="${artical.medioType == 'video' }">
		<a class="weui-cell" href="<c:url value='/wechat/share/videoDetail?id=${artical.id}'/>">
			<div class="weui-cell__bd"> 
				<p style="padding: 0px 0px; color: #555555;"><strong>${artical.title}</strong></p>
				<%-- <div style="margin-top: 10px">
					<img alt="" src="<c:url value='/images/we/shareCode/browse.jpg' />" style="width: 20px; height: 10px;margin:0px 0px" >
		  			<span style="color:#999;margin-right: 10px">3020</span>
		  			
		  			<img alt="" src="<c:url value='/images/we/shareCode/thumb.jpg' />" style="width: 16px; height: 16px;margin:0px 0px" >
					<span style="color:#999">3020</span>
				</div> --%>
			</div>
			<div class="weui-cell__ft">
			<c:if test="${artical.imgUrl !='' && artical.imgUrl != null }">
				<img alt="" src="<c:url value='${tfn:getFileUrl(artical.imgUrl) }' /> "
					style="width: 70px; height: 70px;">
			</c:if>
			</div>
		</a>
</c:if>
</c:forEach>

<script type="text/javascript">

</script>